#ifndef __USERPROG_TSS_H
#define __USERPROG_TSS_H
#include "thread.h"
#include "stdint.h"
void updata_tss_esp(struct task_struct* pthread);
struct gdt_desc make_gdt_desc(uint32_t* desc_addr, uint32_t limit, uint8_t attr_low, uint8_t attr_high);
void tss_init(void);

#endif
